﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace WcfNotifyService
{
    /// <summary>
    /// WCF interface Service for clients to communicate with server
    /// </summary>
    [ServiceContract(CallbackContract = typeof(ICallback))]
    public interface INotifyService
    {
        /// <summary>
        /// Notify to all clients a new list of clients connected to its table
        /// </summary>
        /// <param name="list_seat">The List of Poepla already connected to table</param>
        /// <param name="table">The Table to update</param>
        [OperationContract(IsOneWay = true)]
        void GetData(List<Object> list_seat, Object table);
    }
}
